package com.zsjp.alc.service;

import com.zsjp.alc.entity.PersonInfo;
import com.zsjp.alc.restresult.PersonInfoExecution;
import com.zsjp.alc.restresult.ZsjpResponseResult;

public interface PersonInfoService {

	/**
	 * 
	 * @param userId
	 * @return
	 */
	PersonInfo getPersonInfoById(Long userId);

	/**
	 * 
	 * @param personInfoCondition
	 * @param pageIndex
	 * @param pageSize
	 * @return
	 */
	PersonInfoExecution getPersonInfoList(PersonInfo personInfoCondition,
			int pageIndex, int pageSize);

	/**
	 * 
	 * @param personInfo
	 * @return
	 */
	PersonInfoExecution addPersonInfo(PersonInfo personInfo);

	/**
	 * 
	 * @param personInfo
	 * @return
	 */
	PersonInfoExecution modifyPersonInfo(PersonInfo personInfo);

	/**
	 * 判断超级用户是否输入正确
	 * */
	ZsjpResponseResult checkSuperAdmin(PersonInfo personInfo);

}
